import memberApi from "@/api/declaration/mall/memberApi"
import httpRequest from "@/config/axios/httpRequest"

// 查询会员经验记录列表
export const getExperienceRecordPage = async (params) => {
  return await httpRequest.get(memberApi.GetExperienceRecordPage, { params })
}

// 查询会员经验记录详情
export const getExperienceRecord = async (id: number) => {
  return await httpRequest.get(memberApi.GetExperienceRecord, { params: { id } })
}
